<?php
ini_set('display_errors','1');
error_reporting(E_ALL);
// echo json_encode([
// 	//等级积分
// 	['name' => '普通会员','points' => 0, 'type' => 1, 'type_privilege' => [ 'price' => 30 , 'reduce' => 3]], //普通会员,满80减三
// 	['name' => '白金会员','points' => 500, 'type' => 2, 'type_privilege' => [ 'price' => 30 , 'reduce' => 3]], //白金会员,,每满30减三
// 	['name' => '钻石会员','points' => 1000, 'type' => 0, 'type_privilege' => [ 'discount' => 70]], //钻石会员,7折
// ]);
// 
// 


echo json_encode([
	//兑换规则
	'duihuan' => ['price' => 1, 'points' => 1],
	//抵扣规则
	'dikou' => ['points' => 10,'price' => 1],
]);
